home *** CD-ROM | disk | FTP | other *** search
- Path: dvs-hannover.de!jork
- From: jork@dvs-hannover.de (Ralf Jork)
- Newsgroups: comp.lang.c
- Subject: Re: How to get a random string each time??
- Date: 23 Feb 1996 13:52:42 GMT
- Organization: DVS GmbH Hannover
- Message-ID: <4gkgra$2d3@neptun.DVS-Hannover>
- References: <4fh5od$qq0@news.nevada.edu> <4g4c5m$tlb@news.nevada.edu> <4gg4tj$s18@bcarh8ab.bnr.ca> <danpop.824952112@rscernix>
- NNTP-Posting-Host: neptun.dvs-hannover.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dan Pop (danpop@mail.cern.ch) wrote:
- : In <4gg4tj$s18@bcarh8ab.bnr.ca> hwt@bnr.ca (Henry Troup) writes:
-
- : >I know a couple of people who would jump up and down and yell about
- : >access to a loop index variable outside of the loop. And I know a
- : >language that made it impossible.
-
- : What language? It was "illegal" in very old FORTRAN (pre-F77), but only
- : if the DO-loop terminated normally (it was OK to use the loop index if
- : the loop was left via a GO TO).
-
- As far as I remember it's *impossible* in Algol68: the loop index is
- implicitely defined as an integer and its scope is the loop body only...
-
- .for i .from 0 .to 9 .do
- ...
- .od
- .comment no "i" available here... .comment
-
-